<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script>
 function initialize() {
      //if (GBrowserIsCompatible()) {
        //map = new GMap2(form3.getElementById("map_canvas"));
        //alert("sssssssss");
        // alert(parent.mapwindow);
        map = parent.mapwindow.document.getElementById("map_canvas");
         map.setCenter(new GLatLng(39.917, 116.397), 13);
        geocoder = new GClientGeocoder();
      //}
    }

    function showAddress(x,y) {
    	parent.mapwindow.setLocation(x,y);
    	return;
     }
     alert("ssss");
    var myXML=top.myxml;
	alert(myXML.xml);
	var rows=myXML.selectNodes("/pionts/piont");
	function showname(){
	//var str='';
	if(rows){
		var row=null;
		var xp,yp,content,imgsrc,type;
		var total=0;
		for(var i=0;i<rows.length;i++){
			row=rows[i];
			xp=row.getAttribute('x');
			yp=row.getAttribute('y');
			type=row.getAttribute('type');
			content=row.getAttribute('contentstr');
			name=row.getAttribute('namestr');
			//alert(name);
			//str+='<a>';
			//str+=name;
			//str+='</a>';
			}
	}
	  //document.getElementById("piontlist").innerHTML=str;
	}
	//alert(name);
	</script>
  </head>
  
  <body>
  
	<table>
	<tr>
	<td id="piontlist">
	   111111111111111111111
	</td>
	</tr>
	</table>
  </body>
</html>
